package com.softeem.score.model.entity.school;

import com.softeem.score.model.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "专业管理对象")
public class Major extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Schema(description = "专业名称")
    private String name;

    @Schema(description = "专业代码")
    private String code;

    @Schema(description = "所属学院id")
    private Long collegeId;
}
